﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Best.SmartCms.Domain.Common;

namespace Best.SmartCms.Domain
{
    [Table("Address")]
    public class Address : BaseDomain
    {
        /// <summary>
        /// 收件人
        /// </summary>
        [StringLength(50)]
        public string Name { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        [StringLength(50)]
        public string Province { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        [StringLength(50)]
        public string City { get; set; }

        /// <summary>
        /// 县
        /// </summary>
        [StringLength(50)]
        public string County { get; set; }

        /// <summary>
        /// 详细地址
        /// </summary>
        [StringLength(100)]
        public string Address1 { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        [StringLength(15)]
        public string Phone { get; set; }
    }
}
